package com.djhu.freepartner.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 出租 自己的帖子
 * </p>
 *
 * @author zw
 * @since 2018-08-05
 */
@TableName("lendself_post")
public class LendselfPost extends Model<LendselfPost> {

    private static final long serialVersionUID = 1L;

    /**
     * pk
     */
    @TableId("post_id")
    private String postId;
    /**
     * 标题
     */
    private String title;
    /**
     * 头像
     */
    private String portrait;
    /**
     * 上传图片
     */
    private String uploadpic;
    /**
     * 省编码
     */
    @TableField("partner_province_code")
    private Integer partnerProvinceCode;
    /**
     * 市区编码
     */
    @TableField("partner_city_code")
    private Integer partnerCityCode;
    /**
     * 区县编码
     */
    @TableField("partner_county_code")
    private Integer partnerCountyCode;
    /**
     * 玩伴报酬类型   1： 有偿 2 无偿  3 AA 4 面议  字典可定义
     */
    @TableField("partner_pay_code")
    private Integer partnerPayCode;
    /**
     * 玩伴报酬
     */
    @TableField("partner_pay_number")
    private String partnerPayNumber;
    /**
     * 玩伴类型 字典  1： 游戏 2 健身  3 运动 4约饭  5 旅游  字典可定义 
     */
    @TableField("partner_type")
    private String partnerType;
    /**
     * 玩伴项目 多个用,分隔
     */
    @TableField("partner_item")
    private String partnerItem;
    /**
     * 其它说明
     */
    @TableField("partner_remark")
    private String partnerRemark;
    /**
     * 自我介绍 性别 1 男  2 女  3为空 保密
     */
    private String sex;
    /**
     * 自我介绍 性别 1 已婚 2 未婚  3 离异  4或空 保密
     */
    private String marrystatus;
    /**
     *     空 保密
     */
    private String age;
    /**
     * 空 保密
     */
    private String height;
    /**
     * 空 保密
     */
    private String weight;
    /**
     * 语言字典 语言
     */
    private String language;
    /**
     * 职业字典 职业
     */
    private String vocation;
    /**
     * 学历字典 学历
     */
    private String education;
    /**
     * 籍贯字典 籍贯
     */
    private String nativeplace;
    /**
     * 自我介绍 
     */
    private String remark;
    /**
     * 联系方式 qq  
     */
    private String qq;
    /**
     * 联系方式 手机
     */
    private String tel;
    /**
     * 联系方式 微信
     */
    private String weixin;
    /**
     * 帖子类型 1出租自己 2, 找个伴侣 暂时不用
     */
    private String type;
    /**
     * 浏览量
     */
    private Integer browse;
    /**
     * 是否是精品
     */
    private Integer essence;
    /**
     * 是否置顶
     */
    private Integer top;
    /**
     * 回复控制
     */
    @TableField("reply_control")
    private String replyControl;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 修改时间
     */
    @TableField("modify_date")
    private Date modifyDate;
    /**
     * 创建用户 与username 或者 userid 关联
     */
    @TableField("create_user_id")
    private String createUserId;
    /**
     * 创建用户 与username 或者 userid 关联
     */
    @TableField("create_userusername")
    private String createUserusername;
    /**
     * 状态
     */
    private String status;
    /**
     * 排序字段
     */
    private Integer sorted;


    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getUploadpic() {
        return uploadpic;
    }

    public void setUploadpic(String uploadpic) {
        this.uploadpic = uploadpic;
    }

    public Integer getPartnerProvinceCode() {
        return partnerProvinceCode;
    }

    public void setPartnerProvinceCode(Integer partnerProvinceCode) {
        this.partnerProvinceCode = partnerProvinceCode;
    }

    public Integer getPartnerCityCode() {
        return partnerCityCode;
    }

    public void setPartnerCityCode(Integer partnerCityCode) {
        this.partnerCityCode = partnerCityCode;
    }

    public Integer getPartnerCountyCode() {
        return partnerCountyCode;
    }

    public void setPartnerCountyCode(Integer partnerCountyCode) {
        this.partnerCountyCode = partnerCountyCode;
    }

    public Integer getPartnerPayCode() {
        return partnerPayCode;
    }

    public void setPartnerPayCode(Integer partnerPayCode) {
        this.partnerPayCode = partnerPayCode;
    }

    public String getPartnerPayNumber() {
        return partnerPayNumber;
    }

    public void setPartnerPayNumber(String partnerPayNumber) {
        this.partnerPayNumber = partnerPayNumber;
    }

    public String getPartnerType() {
        return partnerType;
    }

    public void setPartnerType(String partnerType) {
        this.partnerType = partnerType;
    }

    public String getPartnerItem() {
        return partnerItem;
    }

    public void setPartnerItem(String partnerItem) {
        this.partnerItem = partnerItem;
    }

    public String getPartnerRemark() {
        return partnerRemark;
    }

    public void setPartnerRemark(String partnerRemark) {
        this.partnerRemark = partnerRemark;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getMarrystatus() {
        return marrystatus;
    }

    public void setMarrystatus(String marrystatus) {
        this.marrystatus = marrystatus;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getVocation() {
        return vocation;
    }

    public void setVocation(String vocation) {
        this.vocation = vocation;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getNativeplace() {
        return nativeplace;
    }

    public void setNativeplace(String nativeplace) {
        this.nativeplace = nativeplace;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getBrowse() {
        return browse;
    }

    public void setBrowse(Integer browse) {
        this.browse = browse;
    }

    public Integer getEssence() {
        return essence;
    }

    public void setEssence(Integer essence) {
        this.essence = essence;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public String getReplyControl() {
        return replyControl;
    }

    public void setReplyControl(String replyControl) {
        this.replyControl = replyControl;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserusername() {
        return createUserusername;
    }

    public void setCreateUserusername(String createUserusername) {
        this.createUserusername = createUserusername;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getSorted() {
        return sorted;
    }

    public void setSorted(Integer sorted) {
        this.sorted = sorted;
    }

    @Override
    protected Serializable pkVal() {
        return this.postId;
    }

    @Override
    public String toString() {
        return "LendselfPost{" +
        ", postId=" + postId +
        ", title=" + title +
        ", portrait=" + portrait +
        ", uploadpic=" + uploadpic +
        ", partnerProvinceCode=" + partnerProvinceCode +
        ", partnerCityCode=" + partnerCityCode +
        ", partnerCountyCode=" + partnerCountyCode +
        ", partnerPayCode=" + partnerPayCode +
        ", partnerPayNumber=" + partnerPayNumber +
        ", partnerType=" + partnerType +
        ", partnerItem=" + partnerItem +
        ", partnerRemark=" + partnerRemark +
        ", sex=" + sex +
        ", marrystatus=" + marrystatus +
        ", age=" + age +
        ", height=" + height +
        ", weight=" + weight +
        ", language=" + language +
        ", vocation=" + vocation +
        ", education=" + education +
        ", nativeplace=" + nativeplace +
        ", remark=" + remark +
        ", qq=" + qq +
        ", tel=" + tel +
        ", weixin=" + weixin +
        ", type=" + type +
        ", browse=" + browse +
        ", essence=" + essence +
        ", top=" + top +
        ", replyControl=" + replyControl +
        ", createDate=" + createDate +
        ", modifyDate=" + modifyDate +
        ", createUserId=" + createUserId +
        ", createUserusername=" + createUserusername +
        ", status=" + status +
        ", sorted=" + sorted +
        "}";
    }
}
